package top.huhuiyu.p2;

public class BoxShop {

    public static void main(String[] args) {

        Box b1 = new Box(11,12,13);

        System.out.println(b1.info());

        System.out.println(b1.getLength());

        Box b2 = new Box();
        System.out.println(b2.info());

        Box b3 = new Box(-1,-2,20);
        b3.setOwner("黑暗骑士");

        System.out.println(b3.info());

        System.out.println("体积为：" + b3.getVolume());
        System.out.println("体积为：" + b2.getVolume());
        System.out.println("体积为：" + b1.getVolume());

    }

}
